<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/customTag.tld" prefix="ct"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<c:import url="/inc/header.jsp" />
<c:import url="/inc/menu.jsp" />
<c:import url="/inc/content-begin.jsp" />

<div class="head">
	<div class="info">
		<h1>Lister les modifications</h1>
		<ul class="breadcrumb">
			<li class="active">Listez l'integral des modifications apportées à une opération.</li>
		</ul>
	</div>
</div>
<div class="content">
<c:import url="/inc/alert-ie.jsp" />
	<div class="row-fluid">
		<div class="span12">
			<div class="block">
				<div class="head">
					<h2>Opération : ${op.libelle.intitule}</h2>
					<ul class="buttons">
						<li><a href="#" class="block_toggle"><span
								class="i-arrow-down-3"></span></a></li>
						<li><a href="#" class="block_remove"><span
								class="i-cancel-2"></span></a></li>
					</ul>
				</div>
				<div class="content np">
					<ct:input type="noinput" nom="Description" object="${op.libelle}"
						form="${form}" id="intitule" />

					<ct:input type="noinput" nom="Etat" object="${op.libelle}"
						form="${form}" id="etat" />

					<ct:input type="noinput" nom="Date validation DGSTA"
						object="${op.libelle}" form="${form}" id="dateDemandeTravaux" />

				</div>
			</div>

		</div>
	</div>

	<div class="row-fluid">

		<div class="span12">
			<div class="block">
				<div class="head">
					<h2>Historique pour l'opération: '${op.libelle.intitule}'</h2>
				</div>
				<div class="content list_custom">

					<c:forEach items="${ op.historique.listeMessages }" var="message">
						<div class="item">
							<div class="info">
								<a href="#" class="name"> ${message.nom} ${message.prenom}
									(${message.role})</a>
								<div class="text-error">Le ${message.date}</div>
								<p>
									<strong>${message.type}:</strong> ${message.message}
								</p>
							</div>
						</div>
					</c:forEach>

				</div>
				<div class="footer">
					<a href="#wrapper">Revenir en haut de la page</a>
				</div>
			</div>
		</div>
	</div>

</div>

<c:import url="/inc/content-end.jsp" />
<c:import url="/inc/footer.jsp" />